@use 'core' as *;

@include b(qr-code) {
  display: inline-flex;
  position: relative;

  @include e(code) {
  }

  @include e(expired) {
    position: absolute;
    inset: 0;
    background-color: var(--el-mask-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  @include e(refresh) {
    width: 40px;
    text-align: center;
    color: var(--el-color-primary);
    margin-bottom: 20px;
    font-size: 16px;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }

  @include e(tip) {
    color: var(--el-text-color-regular);
    font-size: 14px;
    padding: 0 5px;
    text-align: center;
  }
}
